home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- openDirutil()
- if xfactoryList("Fileio") = EMPTY then
- openXLib("FileIO")
- end if
- end
-
- on stopMovie
- if xfactoryList("Fileio") <> EMPTY then
- closeXLib("FileIO")
- end if
- closeDirUtil()
- end
-
- on openDirutil
- global x
- openXLib("DirUtil")
- set x to DirUtil(mnew)
- end
-
- on closeDirUtil
- global x
- x(mdispose)
- closeXLib("DirUtil")
- end
-
- on callwww site
- global x, aFilename, Gmovie
- if voidp(aFilename) then
- alert("Por favor, localize o seu 'browser' de internet (explorer ou netscape)")
- set f to FileIO(mnew, "?read", "exe")
- if objectp(f) then
- set aFilename to f(mFileName)
- f(mdispose)
- end if
- end if
- if not voidp(aFilename) then
- if (aFilename contains "netscape.exe") or (aFilename contains "iexplore.exe") then
- open(site, aFilename)
- else
- set Temp to Gmovie
- clearGlobals()
- go("nada")
- end if
- else
- clearGlobals()
- go("nada")
- end if
- end
-